//
//  GLGWButton.h
//  GLGW_Shoping
//
//  Created by yang on 2018/11/8.
//  Copyright © 2018年 yang. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface GLGWButton : UIButton
@property (nonatomic, copy) NSString * title;
@property (nonatomic, copy) NSString * image_Name;

- (id)initInSuperView:(UIView *)aSuperView;

- (id)initWithFrame:(CGRect)aFrame
        inSuperView:(UIView *)aSuperView;

-(id)initWithTitleLableFontType:(UIFont *)aFont
                     titleColor:(UIColor *)aColor
                    inSuperView:(UIView *)aSuperView;

-(id)initWithFrame:(CGRect)aFrame
    titleLableFont:(UIFont *)aFont
        titleColor:(UIColor *)aColor
       inSuperView:(UIView *)aSuperView;

-(id)initWithTitle:(NSString *)aTitle
    titleLableFont:(UIFont *)aFont
   titleLableColor:(UIColor *)aColor
       inSuperView:(UIView *)aSuperView;

-(id)initWithFrame:(CGRect)aFrame
         titleText:(NSString *)aTitle
    titleLableFont:(UIFont *)aFont
   titleLableColor:(UIColor *)aColor
       inSuperView:(UIView *)aSuperView;

- (id)initWithTitle:(NSString *)aTitle
     titleLableFont:(UIFont *)aFont
    titleLableColor:(UIColor *)aColor
    theCornerRadius:(CGFloat)aCornerRadius
     backgroundColr:(UIColor *)bColor
        inSuperView:(UIView *)aSuperView;

- (id)initWithFrame:(CGRect)aFrame
             hTitle:(NSString *)aTitle
     titleLableFont:(UIFont *)aFont
    titleLableColor:(UIColor *)aColor
    theCornerRadius:(CGFloat)aCornerRadius
     backgroundColr:(UIColor *)bColor
        inSuperView:(UIView *)aSuperView;

/**
 @param aTitle 标题
 @param aFont 字体
 @param aColor 颜色
 @param aCornerRadius 圆角大小
 @param aBorderWidth 框的宽度
 @param aBorderColor 框的颜色
 @param bColor 背景颜色
 @param aSuperView 添加视图
 */
- (id)initWithTitle:(NSString *)aTitle
     titleLableFont:(UIFont *)aFont
    titleLableColor:(UIColor *)aColor
    theCornerRadius:(CGFloat)aCornerRadius
     theBorderWidth:(CGFloat)aBorderWidth
     theBorderColor:(UIColor *)aBorderColor
     backgroundColr:(UIColor *)bColor
        inSuperView:(UIView *)aSuperView;

- (id)initWithFrame:(CGRect)aFrame
             hTitle:(NSString *)aTitle
     titleLableFont:(UIFont *)aFont
    titleLableColor:(UIColor *)aColor
    theCornerRadius:(CGFloat)aCornerRadius
     theBorderWidth:(CGFloat)aBorderWidth
     theBorderColor:(UIColor *)aBorderColor
     backgroundColr:(UIColor *)bColor
        inSuperView:(UIView *)aSuperView;
@end

NS_ASSUME_NONNULL_END
